{extend name="base" /}
{block name="body"}
<div class="layui-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class=""><a href="{:url('admin/system/siteConfig')}">站点配置</a></li>
            <li class=""><a href="{:url('admin/system/siteProConfig')}">比例配置</a></li>
            <li class="layui-this"><a href="{:url('admin/system/sitePayConfig')}">支付配置</a></li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <form class="layui-form form-container" action="{:url('admin/system/updateSitePayConfig')}" method="post">
                    <div class="layui-form-item">
                        <label class="layui-form-label">收银员ID</label>
                        <div class="layui-input-block">
                            <input type="text" name="pay_config[operator_id]" value="{$pay_config.operator_id|default=''}" required  lay-verify="required" placeholder="请输入收银员ID" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">接入商标识</label>
                        <div class="layui-input-block">
                            <input type="text" name="pay_config[app]" value="{$pay_config.app|default=''}" required  lay-verify="required" placeholder="请输入接入商标识" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">key</label>
                        <div class="layui-input-block">
                            <input type="text" name="pay_config[key]" value="{$pay_config.key|default=''}" required  lay-verify="required" placeholder="请输入key" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <button class="layui-btn" lay-submit lay-filter="*">提交</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{/block}